-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🧲 Update vscalc()
function and add to documentation
#3520
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3520 +/- ##
==========================================
+ Coverage 31.48% 31.54% +0.05%
==========================================
Files 82 82
Lines 19562 19567 +5
==========================================
+ Hits 6160 6173 +13
+ Misses 13402 13394 -8 ☔ View full report in Codecov by Sentry. |
aa1f2c8
to
12d8b00
Compare
0deb114
to
fe4d28e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor spelling correction but otherwise happy with the docs.
documentation/proc-pages/physics-models/plasma_current/inductive_plasma_current.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where have all of the bscf
and diamagnetic fraction output gone?
One of the integration test input files still has gamma in https://github.com/ukaea/PROCESS/actions/runs/13261719680/job/37019713666?pr=3520#step:7:287
Please rebase so new tests are available and Stellarator (old) is not failing
f7fd6ba
to
9bc6d97
Compare
… and return values
… update related documentation and tests
…ion and update related tests
…elated documentation
… update related tests and documentation
…e related data files and documentation
…te related data files and documentation
…iable names more verbose
…d code references
…elated calculations and documentation
…elated calculations and documentation
…elated calculations and documentation
…culations and documentation
…te related calculations and documentation
…e related calculations and tests
…r plasma ohmic heating
… variables and update related references
…ariables and update related references
…and update related references
9bc6d97
to
f10d3d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to update the spherical tokamak once through with obsolete variables
https://github.com/ukaea/PROCESS/actions/runs/13372261563/job/37343429082?pr=3520#step:7:1733
…m' for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with the docs and regression tests after a discussion.
Description
The
vscalc()
function has now been improved and added to the documentation.web_
orvs_
can be used depending what better suites the contexth_
toind_
constants.f90
plasma_ohmic_heating()
, this also includes a boundary fix for the neo-classical enhancement for the resistivity that is only true forOld output:
New output:
The bootstrap current block has been moved below the volt-second section
Namespace changes
Functions
vscalc()
->calculate_volt_second_requirements()
Variables
gamma
->ejima_coeff
: Very generic name that provided no insightphiint
->vs_plasma_internal
: This has now been added to output.vsbrn
->vs_plasma_burn_required
vsstt
->vs_plasma_total_required
lpulse
->i_pulsed_plant
: Changed prefix to newi_
stylevsres
->vs_plasma_res_ramp
: Didnt specify the flux in what system and when the consumption occuredvsind
->vs_plasma_ind_ramp
: Didnt specify the flux in what system and when the consumption occuredvburn
->v_plasma_loop_burn
: Didnt specify system or where the voltage was measured.rlp
->ind_plasma
: Very generic name that provided no insightrli
->ind_plasma_internal_norm
: Very generic name that provided no insightrpfac
->f_plasma_res_neo
✨ New additions
v_plasma_loop_burn
: Wascalculated directly in the output section. Is now a tracked variable inphysics_variables.f90
. Value is returned incalculate_volt_second_requirements()
and has been added totest_calculate_volt_second_requirements()
🐛 Bugs
Checklist
I confirm that I have completed the following checks: